package com.restaurant.application.genshanguser.support;

import com.nebutown.base.ViewSpec;
import com.nebutown.base.data.View;
import com.nebutown.generation.basictype.UID;
import com.nebutown.supporthome.AbstractBase;
import com.restaurant.application.genshanguser.GenShangUser;

public class GenShangUserOutFace implements GenShangUser {
    private GenShangUserBase base;

    public GenShangUserOutFace(GenShangUserBase base) {
        this.base = base;
    }

    public AbstractBase getBase() {
        return this.base;
    }

    @Override
    public GenShangUserData findData() {
        return (GenShangUserData) base.call("findData");
    }

    @Override
    public UID getDesktop(boolean arg0) {
        return (UID) base.call("getDesktop", arg0);
    }

    @Override
    public void asFirstUser() {
        base.call("asFirstUser");
    }

    @Override
    public UID getId() {
        return (UID) base.call("getId");
    }

    @Override
    public View getViewLead(ViewSpec arg0) {
        return (View) base.call("getViewLead", arg0);
    }

    @Override
    public View getFullView() {
        return (View) base.call("getFullView");
    }

    @Override
    public Class getEffectiveInterface() {
        return (Class) base.call("getEffectiveInterface");
    }
}
